import React from 'react'
import ReactDOM from 'react-dom/client'
import { WmsApp } from './App'
import axios from 'axios'
import { BaseRequest } from '@zoom-design/zoom-design-demo'
// import './index.css'
const axiosRequest = axios.create({
  baseURL: '/api',
  timeout: 10000,
  withCredentials: true,
  headers: {
    'Content-Type': 'application/json'
  }
})
BaseRequest.install(axiosRequest)
ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <WmsApp />
  </React.StrictMode>,
)
